// ###############
// FILE : Cell.java
// WRITER : Ido Adler, idoa03, 039809181
// WRITER : Gal Bartfeld, gbartf99, 20144546
// EXERCISE : oop herobots 2009
// DESCRIPTION:
// TODO: add description
// ###############
package warbots.gameplay;

import warbots.entities.units.Unit;

/**
 * TODO: add description
 * 
 * @author Ido Adler.
 * @author Gal Bartfeld.
 */
public class Cell
{
    private boolean _blocked = false;
    private Unit _unit = null;
    
    /**
     * @return the isBlocked
     */
    public boolean isBlocked()
    {
        return _blocked;
    }
    
    /**
     * @param isBlocked
     *            the isBlocked to set
     */
    public void setBlocked(final boolean isBlocked)
    {
        _blocked = isBlocked;
    }
    
    /**
     * @return the unit
     */
    public Unit getUnit()
    {
        return _unit;
    }
    
    /**
     * @param unit
     *            the unit to set
     */
    public void setUnit(final Unit unit)
    {
        _unit = unit;
    }
    
}
